package com.jd.dl.util;

import java.io.UnsupportedEncodingException;

public class CharacterEncodingUtil {

	public static String iso2utf8(String src) {
		if (src == null) {
			return null;
		}
		try {
			return new String(src.getBytes("ISO-8859-1"),"utf-8");
		} catch (UnsupportedEncodingException e) {
			return src;
		}
	}
}
